<%@ page language="java" contentType="text/html; charset=ISO-8859-15" pageEncoding="ISO-8859-15"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<title></title>
</head>
<body>

<script type="text/javascript">
	
	$().ready(function() {
			// validate the comment form when it is submitted
			$("#form1").validate();
	});

</script>	


<h1>
	<bean:message key="label.new.proveedor" />
</h1>


<html:form styleId="form1" action="/GestionProveedor?action=saveNew">

<html:hidden styleId="idProveedor"  property="idProveedor" />

<div id="datosReserva" >
	<fieldset id="fSDLlibres">
		<ul>
			<li class="clearfix">
				<label class="labelFormRevistaCol1">
					<font color="red" > <bean:message key="edit.required"/>  </font> 
					<bean:message key="label.proveedor.nom" />
				</label>
				
				<html:text styleId="nom"  property="nom" size="55" maxlength="255" styleClass="required"/>
				
			</li>		
			<li class="clearfix">
				<label class="labelFormRevistaCol1">					
					<font color="red" > <bean:message key="edit.required"/>  </font> 
					<bean:message key="label.proveedor.codi" />
				</label>
				
				<html:text styleId="codeProveedor"  property="codeProveedor" size="55" maxlength="35" styleClass="required"/>
			</li>
			
		</ul>				
	</fieldset>
</div>


<div id="divButtons">
	<html:button styleId="procesa2" property="torna" onclick="tornaListProv(this)" > <bean:message key="label.button.torna" /> </html:button>
	
	<html:submit styleId="procesa2" >  <bean:message key="label.button.desaCanvis" /> </html:submit>
</div>

</html:form>

</body>
</html>